package com.fun.feifun.modules.business.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.fun.feifun.modules.business.model.BusinessAmountRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fun.feifun.modules.business.model.dto.BusinessAmountRecordDto;
import com.fun.feifun.modules.business.model.param.BusinessAmountRecordPage;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 金额历史记录 Mapper 接口
 * </p>
 *
 * @author wkf
 * @since 2024-05-29
 */
public interface BusinessAmountRecordMapper extends BaseMapper<BusinessAmountRecord> {

    Integer selectDtoCount(@Param("item")BusinessAmountRecordPage page);

    List<BusinessAmountRecordDto> selectDtoList(@Param("item") BusinessAmountRecordPage item,@Param("size") Integer size,@Param("page")Integer page);

}
